package com.internship.javawebinternship.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import lombok.Data;

@Entity //java实体类和数据库表的对应
@Data  //lombok的注解，自动帮我们生成get/set方法的。
public class TutorClasses {

    private String empno;
    private String college;
    private String profession;
    private String grade;
    private String classes;
    @Id
    private int id;

}
